package com.ajx.platform.buildingmronitor.service.impl;

import com.ajx.platform.buildingmronitor.mapper.HightBuildCameraEventMapper;
import com.ajx.platform.buildingmronitor.model.HightBuildCameraEvent;
import com.ajx.platform.buildingmronitor.service.HightBuildCameraEventService;
import com.anjuxing.platform.common.crud.CrudServiceImpl;
import com.anjuxing.platform.common.exception.ServiceException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Map;

/**
 * 高空抛物摄像机事件表
 */
@Service("hightBuildCameraEventService")
@Transactional(readOnly = true, rollbackFor = ServiceException.class)
public class HightBuildCameraEventServiceImpl extends CrudServiceImpl<HightBuildCameraEventMapper, HightBuildCameraEvent> implements HightBuildCameraEventService {

    @Autowired
    private HightBuildCameraEventMapper hightBuildCameraEventMapper;


    @Override
    public HightBuildCameraEvent getEventByParam(Map param) {
        return hightBuildCameraEventMapper.getEventByParam(param);
    }
}